:: Installation :: Manual Installation Instructions ::


Installation Notes


Manual Installation (RAR)


For those that need/want to do a manual install of the prc pack into a module here are the steps:
Note: It is assumed you are familiar with basic scripting and the various file formats involved. Windows users should use the automatic installer where possible.

  1. If downloading the rar version, place the hak and hif files in the hak folder, place prc_consortium.erf in the erf folder, prc_consortium.tlk in the tlk folder, and the module updater wherever you want (or delete it if you are not running windows).

  2. Import prc_consortium.erf into the module using the toolset or neveredit.

  3. Add the haks to the module using the toolset or neveredit. The haks should be listed in the following order (top to bottom):

    prc_include.hak
    prc_2das.hak
    prc_scripts.hak
    prc_spells.hak
    prc_epicspells.hak
    prc_race.hak
    prc_textures.hak
    prc_misc.hak
    prc_craft2das.hak
    prc_psionics.hak
    prc_newspellbook.hak

  4. If the module already contains haks then you will need to check to see if the haks change any of the 2da's in prc_2da's.hak, and if so, merge the changes into a 3rd hak, placing that hak above the prc haks in the hak list. If you skip this step then the module may not play correctly.

  5. Add the following scripts to the module events using the toolset or neveredit:

    OnAcquireItem : prc_onaquire
    OnActivateItem : prc_onactivate
    OnClientEnter : prc_onenter
    OnClientLeave : prc_onleave
    OnCutsceneAbort : prc_oncutabort
    OnHeartbeat : prc_onheartbeat
    OnModuleLoad : prc_onmodload
    OnPlayerDeath : prc_ondeath
    OnPlayerDying : prc_ondying
    OnPlayerEquipItem : prc_equip
    OnPlayerLevelUp : prc_levelup
    OnPlayerRest : prc_rest
    OnPlayerRespawn : prc_onrespawn
    OnUnaquireItem : prc_onunaquire
    OnPlayerUnequipItem : prc_unequip
    OnUserDefined : prc_onuserdef

  6. If the module already has scripts attached to events (and it probably does) then you will either need to edit those scripts and add ExecuteScript("prc_xxx"); at the top of each one or make a new script that calls ExecuteScript() for both the prc script and the old event script.

  7. Now you need to add prc_consortium.tlk to the module, in the toolset this is easy, just set the custom tlk to it. If the module already contains a custom tlk then you will have to merge the entries from both tlk files together using your favorite tlk editor into a new tlk and use that instead. If you are running on the Mac or Linux this step is more difficult, neveredit currently does not have any functionality to set the custom tlk for a module. I recommend using ewald's erf/mod/gff/tlk/2da editor, available on the vault. It's java based and will run on the mac (not sure about Linux). To set the custom tlk, open the module, then open the "module.ifo" file and set the "Mod_CustomTlk" property to "prc_consortium" (no .tlk at the end). At this point if you have done everything correctly you should be all set to play the module.